package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/7/29 16:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserBaseDto implements Serializable {

    @NotBlank(message = "用户ID不能为空")
    private String userId;
    private String username;

}
